package com.yfqy.admin.domain.dto.system;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

@Data
public class AddMenusToRole {

    private List<Long> menuIds;

    @NotNull(message = "角色id不能为空")
    private Long roleId;
}
